<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .main {
            width: 590px;
            height: 580px;
            overflow: hidden;
        }

        .box {
            width: 590px;
            height: 580px;
            background: url(./images/xd1.jpg);
        }

        .bottom {
            background: rgba(0, 0, 0, 0.3);
            height: 40px;
            line-height: 40px;
            text-align: center;
            color: #fff;
        }

        .box:hover {
            transform: scale(1.2);
            transition: all .5s;
        }
    </style>
</head>

<body>
    <div class="main">
        <div class="box">
            <div class="bottom">西点慕斯</div>
        </div>
    </div>
</body>

</html>